package com.recipedb.recipedb.service;

import com.recipedb.recipedb.entity.Ingredient;
import com.recipedb.recipedb.entity.Tag;
import com.recipedb.recipedb.entity.Tag;
import java.util.List;
import java.util.Optional;
import java.util.List;
import java.util.Optional;

public interface IngredientService {
    Ingredient save(Ingredient entity);
    void deleteById(Long id);
    Optional<Ingredient> findById(Long id);
    List<Ingredient> findAll();

    List<Ingredient> findByRecipeId(Long recipeId);
}
